/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SpringTAI.domain;

import java.io.Serializable;
/**
 *
 * @author Krzysztof Nyznar
 */
public class Person implements Serializable {
    
    private Integer ID;
    private String name;
    private String surname;
    private String address;
    
    public Integer  getID()       { return ID; }
    public String   getName()     { return name; }
    public String   getSurname()  { return surname; }
    public String   getAddress()  { return address; }
    
    public void setID(Integer ID)           { this.ID = ID; }
    public void setName(String name)        { this.name = name; }
    public void setSurname(String surname)  { this.surname = surname; }
    public void setAddress(String address)  { this.address = address; }
    
    public String toString() {
        StringBuffer buffer = new StringBuffer();
        buffer.append("Name: " + name + ";");
        buffer.append("Surname: " + surname + ";");
        buffer.append("Address: " + address);
        return buffer.toString();
    }
}
